package it.unibo.iss.domotica.edDomain;

public class ConsumptionData {
	
	private String edName;
	private double consumption;
	
	public ConsumptionData() {
		this("", 0);
	}
	
	public ConsumptionData(String edName, double consumption) {
		this.edName = edName;
		this.consumption = consumption;
	}

	public String getEdName() {
		return edName;
	}

	public void setEdName(String edName) {
		this.edName = edName;
	}

	public double getConsumption() {
		return consumption;
	}

	public void setConsumption(double consumption) {
		this.consumption = consumption;
	}
	
	@Override
	public String toString() {
		return edName + " - " + consumption;
	}
}
